package router

import (
	"github.com/gin-gonic/gin"
	"oct21-exam/handlers"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.POST("/Login", handlers.Login)
	r.GET("lsit", handlers.List)
	return r
}
